package com.alks.function.mapper.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.PcSupplementDuty;
import com.alks.function.data.request.stockdept.pcfactorystockwork.DutyDtRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

/**
 * <p>
 * 责任表 Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-09-26
 */
@Mapper
public interface SD_SQ_PcSupplementDutyMapper extends BaseMapper<PcSupplementDuty> {

    void spAllDelete(String slipNo);

    /*删除表单数据*/
    void dutyDetailDelete(@Param("request") DutyDtRequest request);

    /**
     * 删除明细后清除相关数据
     * @param slipNo 单据号
     * @param companyId 公司ID
     */
    void spDetDelete(String slipNo, String companyId);
}
